package com.suray.attendance.model.vo;


import org.springframework.util.StringUtils;

import java.io.Serializable;
import java.util.List;

/**
 * Description: 提供给外部报工接口的Vo
 * Author: linyu
 * Date: 2023/11/23
 */

public class ProductionDataCollectVo implements Serializable {

    private static final long serialVersionUID = 7683832L;

    private String factoryCode; // 营运据点编号
    private String employeeNo; // 录入人员编号
    private String remark;
    private List<ProductionDataCollectDetailVo> productionDataCollectDetailVoList; // 传输的时候一定是 SF_DATA_COLLECT_D

    public String getFactoryCode() {
        return factoryCode;
    }

    public void setFactoryCode(String factoryCode) {
        if(StringUtils.isEmpty(factoryCode)){
            throw new RuntimeException("factoryCode参数不能为空");
        }
        this.factoryCode = factoryCode;
    }

    public String getEmployeeNo() {
        return employeeNo;
    }

    public void setEmployeeNo(String employeeNo) {
        if(StringUtils.isEmpty(employeeNo)){
            throw new RuntimeException("employeeNo参数不能为空");
        }
        this.employeeNo = employeeNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<ProductionDataCollectDetailVo> getProductionDataCollectDetailVoList() {
        return productionDataCollectDetailVoList;
    }

    public void setProductionDataCollectDetailVoList(List<ProductionDataCollectDetailVo> productionDataCollectDetailVoList) {
        this.productionDataCollectDetailVoList = productionDataCollectDetailVoList;
    }
}
